Skip to content

Conversation

@fawazahmed0
Copy link

@fawazahmed0 fawazahmed0 commented Nov 4, 2024

)

if file is None:
if path is not None and os.path.exists(path):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

os.path.exists() returns true if path is a directory, mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accessing audio dataset value throws Format not recognised error

2 participants